package com.liudw.eureka.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "eureka-client", fallback = UserFallBack.class)
public interface UserService {

	@RequestMapping(value = "/user/hi", method = RequestMethod.GET)
	String hi(@RequestParam("message") String message);
}
